/**
 * Created by gek on 2016/3/21.
 */
var app = angular.module('app', [
  'ngControllers',
  'ngDirectives',
  'ngServices',
  'ngRouter'
]);

app.run(function ($rootScope,$timeout,$location,$window) {
  $rootScope.host = 'service/interface/';
  $rootScope.timeout = 10000;
  $rootScope.go = function (path) {
    $timeout(function () {
      $location.path(path);
    });
  };
  $rootScope.go('/');
});
